module.exports = (app) => {
    const { router, controller } = app;
    // oss
    router.get('/v1/oss/getStsToken', controller.oss.stsToken);

    // 图片
    router.post('/v1/posPhoto/create', controller.ucenter.posPhoto.create);
    router.get('/v1/posPhoto/page', controller.ucenter.posPhoto.page)
    // 文件夹
    router.get('/v1/posFolder/select', controller.ucenter.posFolder.select)
    router.post('/v1/posFolder/create', controller.ucenter.posFolder.create);
    router.put('/v1/posFolder/edit', controller.ucenter.posFolder.edit)
    router.delete('/v1/posFolder/del', controller.ucenter.posFolder.del)
}